package se.webbzon.boltzmann.editor.factory.worldobject;

import se.webbzon.boltzmann.environment.AbstractEnvironment;
import se.webbzon.boltzmann.game.object.portal.RoadPortal;
import se.webbzon.oschi01.worldobject.WorldObject;

public class RoadPortalFactory implements WorldObjectFactory {
	
	// The environment in which the factory is used
	private final AbstractEnvironment env;

	/*============================================================
	Constructors
	============================================================*/
	
	public RoadPortalFactory(AbstractEnvironment env) {
		this.env = env;
	}
	
	/*============================================================
	Public Methods
	============================================================*/
	
	@Override public WorldObject makeWorldObject() {
		return new RoadPortal(env,"",(byte) 0);
	}

	@Override public String getName() {
		return "Road Portal";
	}

}
